package com.jtny.nytb.config.utils;

import com.jtny.nytb.config.dictionary.vo.ExcelDictionaryDataVO;
import com.jtny.nytb.config.dictionary.vo.ExcelDictionaryVO;
import com.jtny.nytb.config.excel.util.ExcelSheetVO;

import java.util.ArrayList;
import java.util.List;

/**
 * @author 智慧能源中心 - 伍天宇
 * @package com.jtny.nytb.config.util
 * @fileName ExcelSheetUtil.java
 * @createTime 2023年11月10日 10:17
 * @Copyright© 2023 jtny
 * 江投能源技术研究院 版权所有
 */
public class ExcelSheetUtil {
    public static List<ExcelSheetVO> buildDictionaryExcelSheet(){
        List<ExcelSheetVO> excelSheetVOList = new ArrayList<>();;
        ExcelSheetVO dictionarySheet = new ExcelSheetVO();
        dictionarySheet.setSheetName("数据字典");
        dictionarySheet.setClazz(ExcelDictionaryVO.class);
        excelSheetVOList.add(dictionarySheet);
        ExcelSheetVO dictionaryDataSheet = new ExcelSheetVO();
        dictionaryDataSheet.setSheetName("数据字典值");
        dictionaryDataSheet.setClazz(ExcelDictionaryDataVO.class);
        excelSheetVOList.add(dictionaryDataSheet);
        return excelSheetVOList;
    }




}
